#cmake最低版本
cmake_minimum_required(VERSION 3.0)
project(server)

#配置编译选项
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGES} -g )

#配置可执行文件输出路径
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#头文件的搜索路径
include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/include/server)
include_directories(${PROJECT_SOURCE_DIR}/thirdparty)
include_directories(${PROJECT_SOURCE_DIR}/include/db)
include_directories(${PROJECT_SOURCE_DIR}/include/model)
include_directories(${PROJECT_SOURCE_DIR}/include/redis)
#指定搜索的子目录
add_subdirectory(src)

